const frontRoutes = [
  {
    path: '/',
    component: () => import('@/views/front/home/Layout.vue'),
    hidden: true,
    redirect: 'VoteList',
    children: [
      {
        path: '/login',
        component: () => import('@/views/front/views/Login.vue'),
        hidden: true
      },
      {
        path: '/register',
        component: () => import('@/views/front/views/Register.vue'),
        hidden: true
      },

      {
        path: 'VoteList',
        component: () => import('@/views/front/views/VoteList.vue'),
        hidden: true
      },

      {
        path: 'AddVote',
        component: () => import('@/views/front/views/AddVote.vue'),
        hidden: true
      },

      {
        path: 'MyVote',
        component: () => import('@/views/front/views/MyVote.vue'),
        hidden: true
      },

      {
        path: 'MyJoin',
        component: () => import('@/views/front/views/MyJoin.vue'),
        hidden: true
      },

      {
        path: 'PostList',
        component: () => import('@/views/front/views/PostList.vue')
      },

      {
        path: 'AddPost',
        component: () => import('@/views/front/views/AddPost.vue'),
        hidden: true
      },

      {
        path: 'MyPost',
        component: () => import('@/views/front/views/MyPost.vue'),
        hidden: true
      },

      {
        path: 'PersonCenter',
        component: () => import('@/views/front/views/PersonCenter.vue'),
        hidden: true
      },

      {
        path: 'MessageList',
        component: () => import('@/views/front/views/MessageList.vue'),
        hidden: true
      },

      {
        path: 'NoticeList',
        component: () => import('@/views/front/views/NoticeList.vue'),
        hidden: true
      },
      {
        path: 'NoticeDetail/:id',
        component: () => import('@/views/front/views/NoticeDetail.vue'),
        hidden: true
      },
      {
        path: `AddApply`,
        component: () => import('@/views/front/views/AddApply.vue'),
        hidden: true
      }
    ]
  }
]
export default frontRoutes

